import 'package:flutter/material.dart';

class DemoPageGetRouteArgs extends StatefulWidget {
  static const ROUTER_NAME = "DemoPageGetRouteArgs";
  @override
  _DemoPageGetRouteArgsState createState() => _DemoPageGetRouteArgsState();
}

class _DemoPageGetRouteArgsState extends State<DemoPageGetRouteArgs> {
  @override
  Widget build(BuildContext context) {
    return Container(
      child: Center(child: Text(ModalRoute.of(context).settings.arguments),),
    );
  }
}
